<!DOCTYPE html>
<html>
<#include "../head.html">
    <body class="full">
    <div class="mc">
        <div class="mc-l">
            <!--左侧导航---{-->
            <div id="navPanelContainer">
                <div class="system-logo cd"></div>
                <!--管理员信息---{-->
                <#include "../adminInfo.html">
                    <!--管理员信息---}-->
                    <div class="nav-wrap">
                        <#include "left.html">
                    </div>
            </div>
            <!--左侧导航---}-->
        </div>
        <div class="mc-m">
            <div class="navToggle"></div>
        </div>
        <div class="mc-r">
            <!--顶部导航---{-->
            <#include "../topNav.html">
                <!--顶部导航---}-->

                <!--面包屑导航---{-->
                <#assign moduleName="所有服务">
                    <#include "banner.html">
                        <!--面包屑导航---}-->

                        <!--工具栏--{-->
                        <div id="toolbar" class="clearfix">
                            <div class="toolbor-module search">
                                <div style="height:22px;line-height:22px;float:left;margin-left: 10px;">服务接口：</div>
                                <input type="text" name="service" id="service" value="请输入服务接口名" class="search-value">
                                <input type="button" value="搜索"  class="input-button" onclick="sousuo();">
                            </div>
                            <div class="toolbor-module search">
                                <a href="/admin/franchisee/addServicesIPS.html" class="input-button">+新增服务</a>
                            </div>
                        </div>
                        <!--工具栏--}-->

                        <div id="main" class="clearfix">
                            <form action="" method="post">
                                <table class="data-list">
                                    <tr class="header">
                                        <td>序号</td>
                                        <td>服务名称</td>
                                        <td>备注</td>
                                        <td>可用IP</td>
                                        <td>操作</td>
                                    </tr>
                                    <#list list as item>
                                        <tr class="s">
                                            <td>${item.id!''}</td>
                                            <td>${item.service!''}</td>
                                            <td>${item.remark!''}</td>
                                            <td>${item.ips!''}</td>
                                            <td>
                                                <a class="un" href="/admin/franchisee/modServicesIPS.html?id=${item.id}">修改</a>
                                                <a class="un" href="/admin/franchisee/delServicesIPS.html?id=${item.id}">删除</a>
                                            </td>
                                        </tr>
                                    </#list>
                                </table>
                            </form>
                        </div>

                        <!--底部工具栏--{-->
                        <div id="bottomToolbar" class="clearfix">
                            <div class="other-tool">
                                <dl class="refresh-data">
                                    <dt class="refresh-data-icon"></dt>
                                    <dd><a href="javascript:void(0);" class="refresh-page">刷新数据</a></dd>
                                </dl>
                            </div>

                            <!--翻页系统--{-->
                            <div class="container s_formPage">
                                <#import "../../common/page.html" as pager>
                                    <@pager.pagination page=page url="${pageUrl}" map=param style="style1" />
                            </div>
                            <!--翻页系统--}-->
                        </div>
                        <!--底部工具栏--}-->
        </div>
    </div>
    <div class="mc-b">
        <#include "../foot.html">
    </div>
    <#include "../jsPage.html">
        <script>
            var url = '/admin/file/file.html?search=true';
            var xlsurl = 'log.html?type=export';

            function sousuo(){
                var sou = "";
                var service = $("#service").val();
                if (service!=""&&service!="请输入服务接口名"){
                    sou += "&username="+username;
                }
                location.href=url+sou;
            }
        </script>
    </body>
</html>

